﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="/syspermissions"  prefix="p"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
 <base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">

<title>无标题文档</title>



<link href="<%=basePath%>css/style.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" src="js/jquery.js"></script>
   <script type="text/javascript" src="<%=path%>/js/jquery-1.9.1.min.js"></script>
<script type="text/javascript">
$(function(){	
	//顶部导航切换
	$(".nav li a").click(function(){
		$(".nav li a.selected").removeClass("selected");
		$(this).addClass("selected");
	});	
	
});	

</script>
<script type="text/javascript">
$(function(){

var url="json/findCount.action";
$.ajax({

url:url,
type:"POST",
dataType:"JSON",
success:function(data){
$("#count").html(data);
}
});

});
</script>
</head>

<body style="background:url(<%=basePath%>images/topbg.gif) repeat-x;">

    <div class="topleft">
    <a href="main.html" target="_parent"><img src="<%=basePath%>images/logo.png" title="系统首页" /></a>
    </div>
        
    <ul class="nav">
    <li><a href="laboraryinfo.jsp" target="rightFrame" class="selected"><img src="images/icon01.png" title="工作台" /><h2>实验室信息</h2></a></li>
<!--     <li><a href="imgtable.html" target="rightFrame"><img src="images/icon02.png" title="模型管理" /><h2>模型管理</h2></a></li>
    <li><a href="imglist.html"  target="rightFrame"><img src="images/icon03.png" title="模块设计" /><h2>模块设计</h2></a></li>
    <li><a href="tools.html"  target="rightFrame"><img src="images/icon04.png" title="常用工具" /><h2>常用工具</h2></a></li>
    <li><a href="computer.html" target="rightFrame"><img src="images/icon05.png" title="文件管理" /><h2>文件管理</h2></a></li>
    <li><a href="tab.html"  target="rightFrame"><img src="images/icon06.png" title="系统设置" /><h2>系统设置</h2></a></li> -->
    </ul>
            
    <div class="topright">    
    <ul>
    <li><span><img src="<%=basePath%>images/help.png" title="帮助"  class="helpimg"/></span><a href="#">帮助</a></li>
    <li><a href="#">关于</a></li>
    <li><a href="<%=basePath%>admin/quit.action" target="_parent">退出</a></li>
    </ul>
     
    <div class="user">
    <span><a href="<%=basePath%>admin/finduserById.action?userid=${administrators.userid}" target="rightFrame">${adminuser}</a></span>
    <p:permissions menu="information">
    <i>消息</i>
    <b id="count"></b>
    </p:permissions>
    </div>    
    
    </div>

</body>
</html>
